[INFO] fetching crate network_peers_discovery 0.0.2...
[INFO] documenting network_peers_discovery-0.0.2 against nightly+rustdocflags=-Zunstable-options -wjson for pr-99919
[INFO] extracting crate network_peers_discovery 0.0.2 into /workspace/builds/worker-2/source
[INFO] validating manifest of crates.io crate network_peers_discovery 0.0.2 on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate network_peers_discovery 0.0.2
[INFO] finished tweaking crates.io crate network_peers_discovery 0.0.2
[INFO] tweaked toml for crates.io crate network_peers_discovery 0.0.2 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eb039d9c1ed3a462d310f083c5f308f7ca0f5108d694f6c5339be73a9cd42e38
[INFO] running `Command { std: "docker" "start" "-a" "eb039d9c1ed3a462d310f083c5f308f7ca0f5108d694f6c5339be73a9cd42e38", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eb039d9c1ed3a462d310f083c5f308f7ca0f5108d694f6c5339be73a9cd42e38", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb039d9c1ed3a462d310f083c5f308f7ca0f5108d694f6c5339be73a9cd42e38", kill_on_drop: false }`
[INFO] [stdout] eb039d9c1ed3a462d310f083c5f308f7ca0f5108d694f6c5339be73a9cd42e38
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow -Zunstable-options -wjson" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1925e6e73151e7f23676a5c4821d2f7f5a25afdbafe2115509c2fb737c08dfe4
[INFO] running `Command { std: "docker" "start" "-a" "1925e6e73151e7f23676a5c4821d2f7f5a25afdbafe2115509c2fb737c08dfe4", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Checking os_info v1.3.3
[INFO] [stderr]     Checking bson v0.14.1
[INFO] [stderr]     Checking rusted_cypher v1.1.0
[INFO] [stdout] error[E0597]: `version_regex` does not live long enough
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/os_info-1.3.3/src/linux/file_release.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 | /             version_regex
[INFO] [stdout] 37 | |                 .captures_iter(&file_content)
[INFO] [stdout]    | |                                             ^
[INFO] [stdout]    | |                                             |
[INFO] [stdout]    | |_____________________________________________borrowed value does not live long enough
[INFO] [stdout]    |                                               a temporary with access to the borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 41 |           } else {
[INFO] [stdout]    |           -
[INFO] [stdout]    |           |
[INFO] [stdout]    |           `version_regex` dropped here while still borrowed
[INFO] [stdout]    |           ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `regex::CaptureMatches<'_, '_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the temporary is part of an expression at the end of a block;
[INFO] [stdout]            consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
[INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
[INFO] [stdout]    |
[INFO] [stdout] 36 ~             let x = version_regex
[INFO] [stdout] 37 |                 .captures_iter(&file_content)
[INFO] [stdout] 38 |                 .next()
[INFO] [stdout] 39 |                 .and_then(|c| c.get(1))
[INFO] [stdout] 40 ~                 .map(|v| v.as_str().trim_end().to_owned()); x
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `os_info` due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "1925e6e73151e7f23676a5c4821d2f7f5a25afdbafe2115509c2fb737c08dfe4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1925e6e73151e7f23676a5c4821d2f7f5a25afdbafe2115509c2fb737c08dfe4", kill_on_drop: false }`
[INFO] [stdout] 1925e6e73151e7f23676a5c4821d2f7f5a25afdbafe2115509c2fb737c08dfe4
